package b2.config
{
	public class EnemyWeaponConfig
	{
		public var name:String;
		public var position:int;
		public var movieIndex:int;
		public var bulletIndex:int;
		public var bulletApPlus:int;
		public var effectIndex:int;
		public var effectRange:int;
		public var effectValue:int;
		public var effectValue2:int;
		public var effectDuration:int;
		public var cooldown:int;
		
		public function EnemyWeaponConfig(weaponXML:XML)
		{
			name = weaponXML.name;
			position = weaponXML.position;
			movieIndex = weaponXML.movieIndex;
			bulletIndex = weaponXML.bulletIndex;
			bulletApPlus = weaponXML.bulletApPlus;
			effectIndex = weaponXML.effectIndex;
			effectRange = weaponXML.effectRange;
			effectValue = weaponXML.effectValue;
			effectValue2 = weaponXML.effectValue2;
			effectDuration = weaponXML.effectDuration;
			cooldown = weaponXML.cooldown;
		}

	}
}